#!/usr/bin/env coffee

puppeteer = require('puppeteer')
do ->
    browser = await puppeteer.launch(
        headless: false
    )
    page = await browser.newPage()
    await page.goto 'https://y.qq.com'
    await page.screenshot path: 'yqq.png'
    browser.close()
    return
